<li>
  <p>
    {% if change.method == "change" %}

      {{ _('Changed the version of {pkg_link}
          to {new_version} (previously {old_version})').format(
            pkg_link = '<a href="{pkg_url}">{pkg_name}</a>'.format(
              pkg_url = h.url_for(controller='dataset',
                                  action='read', id=change.pkg_id),
              pkg_name = change.title
            )|safe,
            old_version = change.old_version,
            new_version = change.new_version
        ) }}

    {% elif change.method == "remove" %}

      {{ _('Removed the version from {pkg_link}').format(
            pkg_link = '<a href="{pkg_url}">{pkg_name}</a>'.format(
              pkg_url = h.url_for(controller='dataset',
                                  action='read', id=change.pkg_id),
              pkg_name = change.title
            )|safe
        ) }}

    {% elif change.method == "add" %}

      {{ _('Changed the version of {pkg_link}
          to {new_version}').format(
            pkg_link = '<a href="{pkg_url}">{pkg_name}</a>'.format(
              pkg_url = h.url_for(controller='dataset',
                                  action='read', id=change.pkg_id),
              pkg_name = change.title
            )|safe,
            new_version = change.new_version
        ) }}

    {% else %}

      {{ _('No fields were updated. See the metadata diff for more details.') }}

    {% endif %}
  </p>
</li>
